﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ivy.Common.Framework.Base;
using System.Runtime.Serialization;


namespace Ivy.UserRegistration.Entity
{
    [Serializable]
    [DataContract]
    public class Sys_LoginHistoryLogCriteria : EntityBase
    {
        #region  Variable & constant
        Int32 lLoginKey = -1;
        Int32 lLoginUserKey = -1;

        string lLoginUserLoginID = string.Empty;
        DateTime lLoginStartTime = DateTime.Now;
        DateTime lLoginEndTime = DateTime.Now;
        string lLoginUserBrowser = string.Empty;
        string lLoginLocation = string.Empty;
        #endregion  Variable & constant

        #region Constructor & Destructor
        public Sys_LoginHistoryLogCriteria() : base() { }
        #endregion Constructor & Destructor

        #region Properties
        [DataMember]
        public Int32 LoginKey
        {
            get
            {
                return lLoginKey;
            }
            set
            {
                lLoginKey = value;
                
            }
        }
        [DataMember]
        public Int32 LoginUserKey
        {
            get
            {
                return lLoginUserKey;
            }
            set
            {
                lLoginUserKey = value;
                
            }
        }
        [DataMember]
        public string LoginUserLoginID
        {
            get
            {
                return lLoginUserLoginID;
            }
            set
            {
                lLoginUserLoginID = value;
                
            }
        }
        [DataMember]
        public DateTime LoginStartTime
        {
            get
            {
                return lLoginStartTime;
            }
            set
            {
                lLoginStartTime = value;
                
            }
        }
        [DataMember]
        public DateTime LoginEndTime
        {
            get
            {
                return lLoginEndTime;
            }
            set
            {
                lLoginEndTime = value;
                
            }
        }
        [DataMember]
        public string LoginUserBrowser
        {
            get
            {
                return lLoginUserBrowser;
            }
            set
            {
                lLoginUserBrowser = value;
                
            }
        }
        [DataMember]
        public string LoginLocation
        {
            get
            {
                return lLoginLocation;
            }
            set
            {
                lLoginLocation = value;
                
            }
        }
        #endregion Properties

        #region Public Methods
        #endregion Public Methods

        #region Events
        #endregion Events

        #region Private Methods
        #endregion Private Methods
    }
}
